package com.coding.service;

import com.coding.base.pojo.BaseModel;
import com.coding.base.pojo.PageQueryModel;
import com.coding.pojo.Comment;

/**
 * @auther wangchenghao
 * @date 2020/7/26
 **/

public interface CommentService {
    void getByPostId(int post_id, PageQueryModel pageQueryModel, BaseModel baseModel) throws Exception;

    void getByGroupId(int group_id, PageQueryModel pageQueryModel, BaseModel baseModel) throws Exception;

    void getByClassId(int group_id, PageQueryModel pageQueryModel, BaseModel baseModel) throws Exception;

    void getByMainPlaceId(int main_place_id, PageQueryModel pageQueryModel, BaseModel baseModel) throws Exception;

    void getByPlaceId(int place_id, PageQueryModel pageQueryModel, BaseModel baseModel) throws Exception;

    void getByPostIdTime(int post_id,PageQueryModel pageQueryModel,BaseModel baseModel)throws Exception;

    void addNewPost(Comment comment, BaseModel baseModel) throws Exception;
}
